#ifndef FLORACOMMUNITYDEVICE_H
#define FLORACOMMUNITYDEVICE_H

#include <QObject>
#include <QMap>
class FloraCommunityDevice : public QObject
{
    Q_OBJECT
public:
    explicit FloraCommunityDevice(QObject *parent = nullptr);
    QMap<int,QByteArray> loopCommandMap;
    int manger_addr;
    virtual void registerLoopCommand(int commandType,QByteArray da);
    virtual void unregisterLoopCommand(int commandType);
    virtual void setResponseData(int commandType, QByteArray da);
    virtual void setBrustResponseData(int commandType, QByteArray da);
    void setMangerAddr(int addr);

signals:
    void sendBrustCommand(int   manger_addr,int commandType,QByteArray da);
public slots:
};

#endif // FLORACOMMUNITYDEVICE_H
